﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace BizTalkFlow.Model
{
    [DataContract]
    public class ArtefactLinkInstance
    {
        [DataMember]
        public string FowTemplate { get; set; }

        [DataMember]
        public Int64 FromEventId  { get; set; }

        [DataMember]
        public Guid FromMessageInstanceId { get; set; }

        [DataMember]
        public Guid FromServiceInstanceId { get; set; }

        [DataMember]
        public int FromStatus { get; set; }

        [DataMember]
        public int FromComponentId { get; set; }

        [DataMember]
        public string FromComponentName { get; set; }

        [DataMember]
        public string FromServiceName{ get; set; }

        [DataMember]
        public string FromServiceType { get; set; }

        [DataMember]
        public Guid FromActivityId { get; set; }

        [DataMember]
        public DateTime FromTimestamp { get; set; }

        [DataMember]
        public int FromIs2Way { get; set; }

        [DataMember]
        public Int64 ToEventId { get; set; }

        [DataMember]
        public Guid ToMessageInstanceId { get; set; }

        [DataMember]
        public Guid ToServiceInstanceId { get; set; }

        [DataMember]
        public int ToStatus { get; set; }

        [DataMember]
        public int ToComponentId { get; set; }

        [DataMember]
        public string ToComponentName { get; set; }

        [DataMember]
        public string ToServiceName { get; set; }

        [DataMember]
        public string ToServiceType { get; set; }

        [DataMember]
        public Guid ToActivityId { get; set; }

        [DataMember]
        public DateTime ToTimestamp { get; set; }

        [DataMember]
        public Guid MessageServiceInstance { get; set; }

        [DataMember]
        public Guid FlowId { get; set; }

        [DataMember]
        public int Generation { get; set; }
    }
}
